home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 843 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. Subject: Re: MiNTlib bugs (well, possible bugs)
  2. Date: Mon, 17 Jan 1994 12:54:58 -0500 (EST)
  3. From: Chris Herborth <herborth@53iss6.waterloo.ncr.com>
  4. In-Reply-To: <9401171652.AA02366@acae127> from "jwahar r. bammi" at Jan 17, 94 11:52:53 am
  5. Message-Id:  <9401171305.af12262@ncrhub1.NCR.COM>
  6.  
  7. What you wrote:
  8. >     there is absolutely no guarantee that the VALUE of symbolic
  9. > constants in header files (like S_IFLNK in stat.h) across systems will
  10. > be the same. if your file format depends on the binary value of some
  11. > symbolic constant being portable across systems, it should be
  12. > re-examine this assumption.
  13.  
  14. Well, it wasn't a filesystem assumption, it was an assumption in the
  15. UnZip code.  I guess my "work around" was the right solution then.
  16.  
  17. >     in fact, the current posix standard does not even define
  18. > S_ISLNK() (but i think posix-92 was supposed to approve it).
  19.  
  20. Yipes!  Doesn't the POSIX filesystem have symlinks?  I guess they forgot
  21. the handy macro...
  22.  
  23. >     what do you have against octal?
  24.  
  25. Hex looks sexier.  :-)  Actually, it was more a case of me being a twit;
  26. I kept looking at the 0160000 in stat.h and seeing 0x160000, so I was WAY
  27. off...
  28.  
  29. Thanks for clarifying for me!
  30.  
  31. -- 
  32. ----------============_   /\ ========================================----------
  33. Chris Herborth        \`o.0'                   herborth@53iss6.Waterloo.NCR.COM
  34. Information Products  =(___)=
  35. NCR ISD Waterloo         U
  36.